package com.mengniu.commerce.collect.third.response.item;

import lombok.Data;

import java.util.List;

/**
 *
 * @author 13754
 * @Date 2023/11/29 11:20
 * @Version 1.0.0
 */
@Data
public class GoodsListResponse {
    private Code code;
    private Data data;

    @lombok.Data
    private static class Code {
        private String errcode;
        private String globalTicket;
        private String errmsg;
        private String monitorTrackId;

    }
    @lombok.Data
    public static class GoodsStock {
        private int goodsStockNum;

    }
    @lombok.Data
    public static class GoodsPrice {
        private double minSalePrice;
        private double maxSalePrice;


    }
    @lombok.Data
    public  static class PageList {
        private boolean isMultiSku;
        private int soldType;
        private int isEpidemicGoods;
        private long goodsId;
        private boolean isOnline;
        private int realSaleNum;
        private int sort;
        private String title;
        private boolean isCanSell;
        private String defaultImageUrl;
        private GoodsStock goodsStock;
        private int goodsType;
        private long vid;
        private int subGoodsType;
        private String subTitle;
        private GoodsPrice goodsPrice;
        private long onlineTime;
        private long createVid;


    }
    @lombok.Data
    public  static class Data {
        private int pageSize;
        private List<PageList> pageList;
        private int totalCount;
        private int pageNum;


    }


}
